<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>xml结构配置</title>
<style type="text/css">
	.ztree li span.button.add {margin-left:2px; margin-right: -1px; background-position:-144px 0; vertical-align:top; *vertical-align:middle}
	.ztree li span.button.icon03 {margin-left:2px; margin-right: -1px; background-position:-128px -64px; vertical-align:top; *vertical-align:middle}
	.ztree li span.button.ico_open{margin-right:2px; background: url(<%=request.getContextPath()%>/images/1_open.png) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle}
	.ztree li span.button.ico_close{margin-right:2px; background: url(<%=request.getContextPath()%>/images/1_close.png) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle}
	.ztree li span.button.ico_docu{margin-right:2px; background: url(<%=request.getContextPath()%>/images/help1.png) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle}
	.ztree li span.button.drgs_ico_docu{margin-right:2px; background: url(<%=request.getContextPath()%>/images/disk.png) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle}
</style>
<script type="text/javascript" src="<%=request.getContextPath() %>/lib/uplodifyh5/event_common.js"></script>

</head>
<body>
<div align="center" class="col-xs-4">
	<div class="col-xs-12">
		<div align="center" class="col-xs-6">
			<select id = "templateType" class='form-control'>
			</select>
		</div>
		<div align="center" class="col-xs-6">
			<input id="xmlTemplateUpload" type="file" name="file" style="display: none;"/>
		</div>
		
	</div>
	<div class="col-xs-12">
		<!-- <div align="center" class="col-xs-4">
			<button class="btn btn-info" style = "margin:0 0 5px -5px;" onclick = "saveXmlStructure()"><i class="fa fa-save fa-lg"></i>&nbsp;&nbsp;保存</button>
		</div> -->
		<div align="center" class="col-xs-6">
			<button class="btn btn-info" style = "margin:0 0 5px -20px;" onclick = "expandNode('expandAll')"><i class="glyphicon glyphicon-plus"></i>&nbsp;&nbsp;全部展开</button>
		</div>
		<div align="center" class="col-xs-6">
			<button class="btn btn-info" style = "margin:0 0 5px -20px;"onclick = "expandNode('collapseAll')"><i class="glyphicon glyphicon-minus"></i>&nbsp;&nbsp;全部折叠</button>
		</div>
	</div>
	<!-- <div style = "float:left;">
		<input type="checkbox" id="sinleCase" style = "display:inline;">&nbsp;<label for="sinleCase">单一病例</label>
		<input id = "dayMonitorUrl" type="text" class="form-control" style = "width:200px;display:inline;" placeholder = "http://127.0.0.1:8080/DRGs/ws/service?wsdl">
	</div> -->
    
	<br/><br/>
	<!-- <h4 style = "text-align: center;">xml根节点&nbsp;<input type = "text" name = "root"/>&nbsp;<a href='javascript:createXmlRoot()'><i class="fa fa-plus-square" aria-hidden="true"></i></a></h1> -->
    <ul id="treeDemo" style = "width:100%;height:450px" class="ztree"></ul>
    
</div>

<div align="center" class="col-xs-8">
	<table id="xmlStructure_Table"  class="table display nowrap" style="width:100%;"> 
</div>

<script type="text/javascript" src="<%=request.getContextPath()%>/js/config/xmlStructure.js"></script>
</body>
</html>